package com.sykj.manage.service.imp;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sykj.manage.dao.BisNurseTypeDao;
import com.sykj.manage.service.BisNurseTypeService;
import com.sykj.manage.model.BisNurseType;

@Service
public class BisNurseTypeServiceImpl implements BisNurseTypeService{

	@Autowired
	BisNurseTypeDao bntDao;

	@Override
	public List<BisNurseType> getAll(BisNurseType bisNurseType) {
		// TODO Auto-generated method stub
		return bntDao.getAll(bisNurseType);
	}

	@Override
	public int add(BisNurseType bisNurseType) {
		// TODO Auto-generated method stub
		return bntDao.add(bisNurseType);
	}

	@Override
	public int deleteType(String type_id) {
		// TODO Auto-generated method stub
		return bntDao.deleteType(type_id);
	}

	@Override
	public int updateType(BisNurseType bisNurseType) {
		// TODO Auto-generated method stub
		return bntDao.updateType(bisNurseType);
	}

	@Override
	public BisNurseType findByTypeId(String type_id) {
		// TODO Auto-generated method stub
		return bntDao.findByTypeId(type_id);
	}
	}
	
	


